ContentBuilder

constructor(context: EntryCreator.CreatorContext, actions: Set<Action>)

Builds content information for constructing a ConfigEntry

Author

fzzyhmstrs

Since

0.6.0

Parameters

context

EntryCreator.CreatorContext creator context used by this builder for a variety of information

actions

Set<Action> set of actions to transform into ActionDecorationWidget using the ActionDecorationWidget.setting method. See the constructor overload with just context for automatically passing actions from the context itself.


constructor(context: EntryCreator.CreatorContext)

Builds content information for constructing a ConfigEntry. Automatically uses the set of Action inside the context to build action widgets.

Author

fzzyhmstrs

Since

0.6.0

Parameters

context

EntryCreator.CreatorContext creator context used by this builder for a variety of information


constructor(context: EntryCreator.CreatorContext, actionWidgets: List<AbstractDecorationWidget>)

Parameters

context

EntryCreator.CreatorContext creator context used by this builder for a variety of information

actionWidgets

List$lt;AbstractDecorationWidget$gt; decorations drawn on the left side of the screen to provide usage alerts (requires restart etc.). the creator context provides a list of actions that can be converted into ActionDecorationWidget for this purpose. See ActionDecorationWidget.setting and other methods for details.